An Abstract Domain to Infer Octagonal Constraints with Absolute Value

نویسندگان

  • Liqian Chen
  • Jiangchao Liu
  • Antoine Miné
  • Deepak Kapur
  • Ji Wang
چکیده

The octagon abstract domain, devoted to discovering octagonal constraints (also called Unit Two Variable Per Inequality or UTVPI constraints) of a program, is one of the most commonly used numerical abstractions in practice, due to its quadratic memory complexity and cubic time complexity. However, the octagon domain itself is restricted to express convex sets and has limitations in handling non-convex properties which are sometimes required for proving some numerical properties in a program. In this paper, we intend to extend the octagon abstract domain with absolute value, to infer certain non-convex properties by exploiting the absolute value function. More precisely, the new domain can infer relations of the form {±X ± Y ≤ c,±X ± |Y | ≤ d,±|X| ± |Y | ≤ e}. We provide algorithms for domain operations such that the new domain still enjoys the same asymptotic complexity as the octagon domain. Moreover, we present an approach to support strict inequalities over rational or real-valued variables in this domain, which also fits for the octagon domain. Experimental results of our prototype are encouraging; The new domain is scalable and able to find non-convex invariants of interest in practice but without too much overhead (compared with that using octagons).

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Domain to Infer Octagonal Constraints with Absolute Value ?

The octagon abstract domain, devoted to discovering octagonal constraints (also called Unit Two Variable Per Inequality or UTVPI constraints) of a program, is one of the most commonly used numerical abstractions in practice, due to its quadratic memory complexity and cubic time complexity. However, the octagon domain itself is restricted to express convex sets and has limitations in handling no...

متن کامل

A Decision Tree Abstract Domain for Proving Conditional Termination

We present a new parameterized abstract domain able to refine existing numerical abstract domains with finite disjunctions. The elements of the abstract domain are decision trees where the decision nodes are labeled with linear constraints, and the leaf nodes belong to a numerical abstract domain. The abstract domain is parametric in the choice between the expressivity and the cost of the linea...

متن کامل

Tightened Transitive Closure of Integer Addition Constraints

We present algorithms for testing the satisfiability and finding the tightened transitive closure of conjunctions of addition constraints of the form ±x ± y ≤ d and bound constraints of the form ±x ≤ d where x and y are integer variables and d is an integer constrant. The running time of these algorithms is a cubic polynomial in the number of input constraints. We also describe an efficient mat...

متن کامل

MULTIPERIOD CREDIBILITIC MEAN SEMI-ABSOLUTE DEVIATION PORTFOLIO SELECTION

In this paper, we discuss a multiperiod portfolio selection problem with fuzzy returns. We present a new credibilitic multiperiod mean semi- absolute deviation portfolio selection with some real factors including transaction costs, borrowing constraints, entropy constraints, threshold constraints and risk control. In the proposed model, we quantify the investment return and risk associated with...

متن کامل

Incrementally Closing Octagons

Abstract The octagon abstract domain is a widely used numeric abstract domain expressing relational information between variables whilst being both computationally efficient and simple to implement. Each element of the domain is a system of constraints where each constraint takes the restricted form ̆xi ̆xj ď c. A key family of operations for the octagon domain are closure algorithms, which check...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2014